import httpInstance from '@/utils/http.js'


/**
 * 获取二级分类列表
 * @param {*} id 
 * @returns 
 */
export function getSubCategoryAPI(id) {
    return httpInstance({
        url: '/category',
        method: 'get',
        params: {
            id
        }
    })
}